# -*- coding: utf-8 -*-
from datetime import timedelta

from airflow.providers.apache.hdfs.sensors.web_hdfs import WebHdfsSensor

jms_dim__dim_sqs_push_pdd_detail_mapping_base = WebHdfsSensor(
    pool='unlimited_pool',
    task_id="jms_dim__dim_sqs_push_pdd_detail_mapping_base",
    filepath='/dw/hive/jms_dim.db/external/dim_sqs_push_pdd_detail_mapping_base/',
    execution_timeout = timedelta(minutes=30),
    #邮箱更换
    email=['guoruiling@jtexpress.com','yl_bigdata@yl-scm.com'],
    retries=2,
)
